<%-- 
    Document   : GsonData
    Created on : 10-05-2011, 09:34:29
    Author     : DoanHa
--%>

<%@page import="com.google.gson.Gson"%>
<%@page import="com.vienthonga.product.logic.M_Detail"%>
<%@page contentType="application/json" pageEncoding="UTF-8"%>


<%
    M_Detail detail = (M_Detail) request.getAttribute("productDetails");

    Gson gson = new Gson();
    String jsonString = gson.toJson(detail);

%>

<%= jsonString %>